import scrapy


class OsgeoSpider(scrapy.Spider):
    name = 'osgeo'
    allowed_domains = ['osgeo.cn']
    start_urls = ['https://www.osgeo.cn/scrapy/index.html']

    def parse(self, response):
        html = response.body

        yield {
            "type": "html",
            "html_body": html
        }
